Spread WPF 17
GrapeCity.CalcEngine.Functions Namespace / CalcTBillPriceFunction Class / Evaluate Method / Evaluate(Object[]) Method

The args contains 3 items: settlement, maturity, discount.

Settlement is the Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.

Maturity is the Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.

Discount is the Treasury bill's discount rate.



In This Topic
    Evaluate(Object[]) Method
    In This Topic
    Returns the System.Double price per $100 face value for a Treasury bill.
    Syntax
    'Declaration
     
    Public Overloads Overrides Function Evaluate( _
       ByVal args() As Object _
    ) As Object
    'Usage
     
    Dim instance As CalcTBillPriceFunction
    Dim args() As Object
    Dim value As Object
     
    value = instance.Evaluate(args)
    public override object Evaluate( 
       object[] args
    )

    Parameters

    args

    The args contains 3 items: settlement, maturity, discount.

    Settlement is the Treasury bill's settlement date. The security settlement date is the date after the issue date when the Treasury bill is traded to the buyer.

    Maturity is the Treasury bill's maturity date. The maturity date is the date when the Treasury bill expires.

    Discount is the Treasury bill's discount rate.

    Return Value

    A System.Double value that indicates the evaluate result.
    See Also